package 迭代器模式;

public interface Iterator {
    //指针前移
    Object previous();
    //指针后移
    Object next();
    public boolean hasNext();
}
